#ifndef SPEEDPLAYBUTTON_H
#define SPEEDPLAYBUTTON_H

#include <QObject>
#include <QPushButton>

class CSpeedPlayListDlg;
class SpeedPlayButton : public QPushButton
{
    Q_OBJECT
public:
    explicit SpeedPlayButton(QWidget *parent = nullptr);
    void     setNormalImage(const QString& normalImage);
    void     setButtonWidth(int tmp_width);
    void     setButtonHeight(int tmp_height);
    void     showSpeedPlay(QEvent *event);
    void     paintEvent(QPaintEvent* event) override;
    virtual void enterEvent(QEvent *event) override;
signals:
private:
    QString m_normalImage;
    CSpeedPlayListDlg* m_pSppedPlayDlg;
public:
    int     m_width;
    int     m_height;
};

#endif // SPEEDPLAYBUTTON_H
